package 老妈修改版;


import java.io.NotSerializableException;
import java.io.Serializable;
public class Book implements Serializable {
    private int id;
    private String name;
    private String Autor;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAutor() {
        return Autor;
    }

    public void setAutor(String autor) {
        Autor = autor;
    }

    //构造器：
    //初始化：
    public Book(int id, String name, String Autor) {
        this.id = id;
        this.name = name;
        this.Autor = Autor;
    }
    public Book(){
    }
}